Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func BearerToken ¶
func BearerToken(token string) func(*runtime.ClientOperation)
Types ¶
type ServiceConfig ¶
func NewServiceConfig ¶
func NewServiceConfig(schema, host, port string) *ServiceConfig
func (*ServiceConfig) Address ¶
func (s *ServiceConfig) Address() string
type ServiceContext ¶
type ServiceContext struct { Host string // contains filtered or unexported fields }
func NewServiceContext ¶
func NewServiceContext(host string, c *gin.Context) *ServiceContext
func (*ServiceContext) BearerToken ¶
func (s *ServiceContext) BearerToken() string
Click to show internal directories.
Click to hide internal directories.