
core
import "github.com/go-coldbrew/core"
Index
type CB
type CB interface {
SetService(CBService) error
Run() error
SetOpenAPIHandler(http.Handler)
Stop(time.Duration) error
}
func New(c config.Config) CB
New creates a new ColdBrew object
type CBService interface {
InitHTTP(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) error
InitGRPC(ctx context.Context, server *grpc.Server) error
}
Generated by gomarkdoc