shared

package
v0.0.0-...-ad9c0bf Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

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)

type User

type User struct {
	// contains filtered or unexported fields
}

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.

Jump to

Keyboard shortcuts

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