Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator struct {
// contains filtered or unexported fields
}
func NewAuthenticator ¶
func NewAuthenticator(adminUsername, adminPassword string) *Authenticator
func (*Authenticator) AddUser ¶
func (a *Authenticator) AddUser(username, password string)
func (*Authenticator) AuthorizeUser ¶
func (a *Authenticator) AuthorizeUser(ctx context.Context) (bool, error)
Directories ¶
Path | Synopsis |
---|---|
gnmi
|
|
modeldata
Package modeldata contains the following model data in gnxi proto struct:
|
Package modeldata contains the following model data in gnxi proto struct: |
modeldata/generated/ocstruct
Package ocstruct is a generated package which contains definitions of structs which represent a YANG schema.
|
Package ocstruct is a generated package which contains definitions of structs which represent a YANG schema. |
gnoi
|
|
modeldata/generated/system
Package gnoi_system is a generated protocol buffer package.
|
Package gnoi_system is a generated protocol buffer package. |
Click to show internal directories.
Click to hide internal directories.