1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-11-23 21:44:41 +02:00

fix: struct field alignment (#2632)

This commit is contained in:
Lukasz Raczylo
2023-04-26 00:16:34 +00:00
committed by GitHub
parent 0f9b2f00c9
commit a7522e7d6c
113 changed files with 694 additions and 637 deletions

View File

@@ -24,29 +24,31 @@ import (
// Options for micro service.
type Options struct {
Auth auth.Auth
Broker broker.Broker
Cache cache.Cache
Cmd cmd.Cmd
Config config.Config
Client client.Client
Server server.Server
Store store.Store
Registry registry.Registry
Runtime runtime.Runtime
Transport transport.Transport
Profile profile.Profile
Logger logger.Logger
// Before and After funcs
BeforeStart []func() error
BeforeStop []func() error
AfterStart []func() error
AfterStop []func() error
Registry registry.Registry
Store store.Store
Auth auth.Auth
Cmd cmd.Cmd
Config config.Config
Client client.Client
Server server.Server
// Other options for implementations of the interface
// can be stored in a context
Context context.Context
Cache cache.Cache
Runtime runtime.Runtime
Profile profile.Profile
Transport transport.Transport
Logger logger.Logger
Broker broker.Broker
// Before and After funcs
BeforeStart []func() error
AfterStart []func() error
AfterStop []func() error
BeforeStop []func() error
Signal bool
}