Documentation ¶ Index ¶ type Config func (c *Config) LocalizeServiceConfig() *localize.Config type Server func NewServer(ctx context.Context, cfg *Config, env *serverenv.ServerEnv) (*Server, error) func (s *Server) Routes(ctx context.Context) *chi.Mux Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { LocalizeConfig *localize.Config Port string `env:"PORT, default=12003"` } func (*Config) LocalizeServiceConfig ¶ func (c *Config) LocalizeServiceConfig() *localize.Config type Server ¶ type Server struct { // contains filtered or unexported fields } func NewServer ¶ func NewServer(ctx context.Context, cfg *Config, env *serverenv.ServerEnv) (*Server, error) func (*Server) Routes ¶ func (s *Server) Routes(ctx context.Context) *chi.Mux Source Files ¶ View all Source files config.go router_v1.go service.go Directories ¶ Show internal Expand all Path Synopsis handler v1 Click to show internal directories. Click to hide internal directories.