Documentation
¶
Index ¶
- type Builder
- func (b *Builder) Container() *dig.Container
- func (b *Builder) WithAccessToken(j roles.AccessToken) *Builder
- func (b *Builder) WithConfig(c *gserver.Config) *Builder
- func (b *Builder) WithDiscovery(d discovery.Discovery) *Builder
- func (b *Builder) WithJwtParser(j jwt.Parser) *Builder
- func (b *Builder) WithJwtSigner(j jwt.Signer) *Builder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder helps to build container
func (*Builder) WithAccessToken ¶
func (b *Builder) WithAccessToken(j roles.AccessToken) *Builder
WithAccessToken sets Access Token provider
func (*Builder) WithConfig ¶
WithConfig sets gserver.HTTPServerCfg
func (*Builder) WithDiscovery ¶
WithDiscovery sets Discover
func (*Builder) WithJwtParser ¶
WithJwtParser sets JWT Parser
Click to show internal directories.
Click to hide internal directories.