api

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditlogService

type AuditlogService interface {
	Register(*grpc.Server)
	ListAuditLogs(context.Context, *proto.ListAuditLogsRequest) (*proto.ListAuditLogsResponse, error)
	ListAdminAuditLogs(
		ctx context.Context,
		req *proto.ListAdminAuditLogsRequest,
	) (*proto.ListAdminAuditLogsResponse, error)
	ListFeatureHistory(
		ctx context.Context,
		req *proto.ListFeatureHistoryRequest,
	) (*proto.ListFeatureHistoryResponse, error)
}

func NewAuditLogService

func NewAuditLogService(
	accountClient accountclient.Client,
	mysqlClient mysql.Client,
	opts ...Option,
) AuditlogService

type Option

type Option func(*options)

func WithLogger

func WithLogger(l *zap.Logger) Option

Jump to

Keyboard shortcuts

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