mockappcontainer

package
v0.25.559 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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 NewBuilder

func NewBuilder() *Builder

NewBuilder returns ContainerBuilder

func (*Builder) Container

func (b *Builder) Container() *dig.Container

Container returns Container

func (*Builder) WithConfig

func (b *Builder) WithConfig(c *gserver.Config) *Builder

WithConfig sets gserver.HTTPServerCfg

func (*Builder) WithDiscovery

func (b *Builder) WithDiscovery(d discovery.Discovery) *Builder

WithDiscovery sets Discover

func (*Builder) WithJwtParser

func (b *Builder) WithJwtParser(j jwt.Parser) *Builder

WithJwtParser sets JWT Parser

func (*Builder) WithJwtSigner

func (b *Builder) WithJwtSigner(j jwt.Signer) *Builder

WithJwtSigner sets JWT Signer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL