Documentation ¶
Overview ¶
Package service manages the main logic of server.
Package service provides meta service ¶
Package service
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Meta ¶
type Meta interface { Start(ctx context.Context) (<-chan error, error) Exists(context.Context, string) (bool, error) GetMeta(context.Context, string) (string, error) GetMetas(context.Context, ...string) ([]string, error) GetUUID(context.Context, string) (string, error) GetUUIDs(context.Context, ...string) ([]string, error) SetUUIDandMeta(context.Context, string, string) error SetUUIDandMetas(context.Context, map[string]string) error DeleteMeta(context.Context, string) (string, error) DeleteMetas(context.Context, ...string) ([]string, error) DeleteUUID(context.Context, string) (string, error) DeleteUUIDs(context.Context, ...string) ([]string, error) GRPCClient() grpc.Client }
type Option ¶
type Option func(m *meta) error
func WithMetaCache ¶
func WithMetaCacheEnabled ¶
func WithMetaClient ¶
Click to show internal directories.
Click to hide internal directories.