Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Auth ¶
type Auth interface { CheckAuthorization(check *Check) *CheckResult GetAPICertification(ak, sk, project string) (*Cert, error) }
Auth is for 2 cased 1. check source service is authorized or not when try to request micro service 2. Get API service certification from any system
type Check ¶
type Check struct { TargetService string TargetMethod string TargetServiceProperties map[string]string }
Check includes information to be checked by auth service
type CheckResult ¶
CheckResult is returned by auth service
Click to show internal directories.
Click to hide internal directories.