Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JsonStringToCollection ¶
func JsonStringToCollection(json string) (remote.MethodCollection, error)
JsonStringToCollection converts json string to collection of Methods
func JsonToCollection ¶
func JsonToCollection(json gjson.Result) (remote.MethodCollection, error)
JsonToCollection converts gjson collection to collection of Methods
Types ¶
type ServerConfig ¶
type ServerConfig struct { Server struct { Route string Port int MethodsPath string RemoteTimeout int } Jwt server.JWTAuthorizationConfig }
ServerConfig holds server configuration
func (*ServerConfig) Normilize ¶
func (s *ServerConfig) Normilize()
Normilize sets up default values for ServerConfig
Click to show internal directories.
Click to hide internal directories.