server

package
v0.0.0-...-eb64f0e Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitServer

func InitServer(db string)

Types

type AuthRPC

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

func (*AuthRPC) Ping

func (ar *AuthRPC) Ping(req *rpc.ReqKeepAlive, resp *rpc.RespKeepAlive) error

Ping is general rpc keepalive interface.

func (*AuthRPC) Verify

func (ar *AuthRPC) Verify(permission args.Permission, reply *bool) error

Verify check whether the user permissions match the URL permissions.

Jump to

Keyboard shortcuts

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