Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
type AuthService ¶
type AuthService interface { // Auth GPRC validators Unary() grpc.UnaryServerInterceptor Stream() grpc.StreamServerInterceptor // Usable API's GenerateNewKey(name, description string) (*auth_state.AuthStateModel, error) ListKeys() ([]*auth_state.AuthStateModel, error) UpdateKey(id int64, name, description string) error DeleteKey(id int64) error }
func NewAuthService ¶
func NewAuthService(cfg AuthConfig) (AuthService, error)
Click to show internal directories.
Click to hide internal directories.