Skip to content

feat: extract gateway runtime into embeddable package#2151

Merged
benmcclelland merged 1 commit into
mainfrom
ben/embed
May 27, 2026
Merged

feat: extract gateway runtime into embeddable package#2151
benmcclelland merged 1 commit into
mainfrom
ben/embed

Conversation

@benmcclelland
Copy link
Copy Markdown
Member

Move the runGateway implementation from cmd/versitygw/main.go into a new embedgw package, exposing RunVersityGW(ctx, Backend, *Config) and a Config struct. This allows external applications to embed and run the VersityGW S3 gateway as a library.

@benmcclelland benmcclelland force-pushed the ben/embed branch 2 times, most recently from b30cc76 to 9ea9bb9 Compare May 22, 2026 23:50
@benmcclelland benmcclelland requested a review from niksis02 May 24, 2026 02:18
Comment thread cmd/versitygw/main.go
Comment thread embedgw/embedgw.go
Comment thread embedgw/embedgw.go Outdated
Comment thread embedgw/embedgw_test.go Outdated
Move the runGateway implementation from cmd/versitygw/main.go into a
new embedgw package, exposing RunVersityGW(ctx, Backend, *Config) and a
Config struct. This allows external applications to embed and run the
VersityGW S3 gateway as a library.
@benmcclelland benmcclelland merged commit d62a11f into main May 27, 2026
121 of 122 checks passed
@benmcclelland benmcclelland deleted the ben/embed branch May 27, 2026 03:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants